function loadXMLDoc(url)
{
    var xhttp = new XMLHttpRequest()
    xhttp.open("GET", url, false);
    xhttp.send();
    return xhttp.responseXML;    
}

function scrape(source, dest)
{
     $(document).ready
     (
        function()
        {
            $(dest).load(source);
        }
     );
}

function displayPage(pageName)
{
    scrape("controls/"+pageName, "#content_area" );
}

function getPlaylistData()
{
  //  scrape("/requests/browse.xml?dir=", "#playlist_db" );
}


